<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" dir="ltr">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>eclipse+ADT 进行android应用签名详解 - Jojol's blog - ITeye技术网站</title>
    <meta name="description" content="1.Eclipse工程中右键工程，弹出选项中选择 android工具-生成签名应用包： 2.选择需要打包的android项目工程： 3.如果已有私钥文件，选择私钥文件 输入密码，如果没有私钥文件见 第6和7步创建私钥文件： 4.输入私钥别名和密码： 5.选择APK存储的位置，并完成设置 开始生成： 6.没有私钥文件的情况，创建私钥文件： 7.输入私钥文件所需信息，并创建： " />
    <meta name="keywords" content="Eclipse, Android eclipse+ADT 进行android应用签名详解" />
    <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
    <link rel="search" type="application/opensearchdescription+xml" href="/open_search.xml" title="ITeye" />
    <link href="/rss" rel="alternate" title="Jojol's blog" type="application/rss+xml" />
    <link href="http://www.iteye.com/stylesheets/blog.css?1393920955" media="screen" rel="stylesheet" type="text/css" />
<link href="http://www.iteye.com/stylesheets/themes/blog/purple.css?1326191326" media="screen" rel="stylesheet" type="text/css" />
    <script src="http://www.iteye.com/javascripts/application.js?1358214518" type="text/javascript"></script>
    <script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-535605-1']);
  _gaq.push(['_setDomainName', 'iteye.com']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>


      <link href="http://www.iteye.com/javascripts/syntaxhighlighter/SyntaxHighlighter.css?1348819953" media="screen" rel="stylesheet" type="text/css" />
  <script src="http://www.iteye.com/javascripts/syntaxhighlighter/shCoreCommon.js?1325907333" type="text/javascript"></script>
<script src="http://www.iteye.com/javascripts/hotkey.js?1324994303" type="text/javascript"></script>
  <script src="http://www.iteye.com/javascripts/code_favorites.js?1358214518" type="text/javascript"></script>
<script src="http://www.iteye.com/javascripts/weiboshare.js?1324994303" type="text/javascript"></script>
  </head>
  <body>
    <div id="header">
      <div id="blog_site_nav">
  <a href="http://www.iteye.com/" class="homepage">首页</a>
  <a href="http://www.iteye.com/news">资讯</a>
  <a href="http://www.iteye.com/magazines">精华</a>
  <a href="http://www.iteye.com/forums">论坛</a>
  <a href="http://www.iteye.com/ask">问答</a>
  <a href="http://www.iteye.com/blogs">博客</a>
  <a href="http://www.iteye.com/blogs/subjects">专栏</a>
  <a href="http://www.iteye.com/groups">群组</a>
  <a href="#" onclick="return false;" id="msna"><u>更多</u> <small>▼</small></a>
  <div class="quick_menu" style="display:none;">
    <a target="_blank" href="http://job.iteye.com/iteye">招聘</a>
    <a href="http://www.iteye.com/search">搜索</a>
  </div>
</div>

      <div id="user_nav">
      <a href="/login" class="welcome" title="登录">您还未登录 !</a>
    <a href="/login">登录</a>
    <a href="/signup" class="nobg">注册</a>
  </div>

    </div>

    <div id="page">
      <div id="branding" class="clearfix">
        <div id="blog_name">
          <h1><a href="/">Jojol's blog</a></h1>
        </div>
        <div id='fd'></div>
        <div id="blog_navbar">
          <ul>
            <li class='blog_navbar_for'><a href="http://jojol-zhou.iteye.com"><strong>博客</strong></a></li>
            <li ><a href="/weibo">微博</a></li>
            <li ><a href="/album">相册</a></li>
            <li ><a href="/link">收藏</a></li>
            <li ><a href="/blog/guest_book">留言</a></li>
            <li ><a href="/blog/profile">关于我</a></li>
          </ul>
    
          <div class="search">
            <form action="/blog/search" method="get">
              <input class="search_text" id="query" name="query" style="margin-left: 10px;width: 110px;" type="text" value="" />
              <input class="submit_search" type="submit" value="" />
            </form>
          </div> 
          <div id="fd"></div>         
        </div>
      </div>
      
      <div id="content" class="clearfix">
        <div id="main">
          



          


<div class="h-entry" style='display:none'>
  <a href="http://jojol-zhou.iteye.com" class="p-author" target="_blank">jojol_zhou</a>
</div>


<div class="blog_main">
  <div class="blog_title">
    <h3>
      <a href="/blog/719428">eclipse+ADT 进行android应用签名详解</a>
      <em class="actions">      </em>
    </h3>
    <ul class='blog_categories'><strong>博客分类：</strong> <li><a href="/category/185660">android 开发</a></li> </ul>
        <div class='news_tag'><a href="http://www.iteye.com/blogs/tag/Eclipse">Eclipse</a><a href="http://www.iteye.com/blogs/tag/Android">Android</a>&nbsp;</div>
  </div>

  <div id="blog_content" class="blog_content">
    1.Eclipse工程中右键工程，弹出选项中选择 android工具-生成签名应用包：<br /><br /><img src="http://dl.iteye.com/upload/attachment/281835/5eb14ec4-1576-35e2-b7ba-64754fbe6ae8.png" /><br /><br /><br />2.选择需要打包的android项目工程：<br /><br /><img src="http://dl.iteye.com/upload/attachment/281837/d642307d-aef0-35ef-ac3e-d8cc0c311ae8.png" /><br /><br /><br />3.如果已有私钥文件，选择私钥文件 输入密码，如果没有私钥文件见 第6和7步创建私钥文件：<br /><br /><img src="http://dl.iteye.com/upload/attachment/281839/92cc4b34-ebad-34fa-85ed-6a365a4f40b1.png" /><br /><br /><br /><br />4.输入私钥别名和密码：<br /><br /><img src="http://dl.iteye.com/upload/attachment/281841/7e137bcc-3ca2-319d-9c53-b30f28ff1d29.png" /><br /><br /><br />5.选择APK存储的位置，并完成设置 开始生成：<br /><br /><img src="http://dl.iteye.com/upload/attachment/281843/f0fadc1c-73ad-3c24-9dff-35bc8d8e4bb8.png" /><br /><br /><br />6.没有私钥文件的情况，创建私钥文件：<br /><br /><img src="http://dl.iteye.com/upload/attachment/281845/888cacdf-65f1-3858-bc53-f34208c00b60.png" /><br /><br /><br />7.输入私钥文件所需信息，并创建：<br /><br /><img src="http://dl.iteye.com/upload/attachment/281847/61e402d1-e46c-3bbc-9658-2e2f5a80fc43.png" /><br />
  </div>

  
  <div class="attachments">
    
      
        <ul style="display:none;">
          <li><a href="http://dl2.iteye.com/upload/attachment/0028/1835/5eb14ec4-1576-35e2-b7ba-64754fbe6ae8.png" target="_blank"><img src='http://dl2.iteye.com/upload/attachment/0028/1835/5eb14ec4-1576-35e2-b7ba-64754fbe6ae8-thumb.png' class='magplus' title='点击查看原始大小图片' /></a></li>
          
          <li>大小: 43.6 KB</li>
        </ul>
      
    
      
        <ul style="display:none;">
          <li><a href="http://dl2.iteye.com/upload/attachment/0028/1837/d642307d-aef0-35ef-ac3e-d8cc0c311ae8.png" target="_blank"><img src='http://dl2.iteye.com/upload/attachment/0028/1837/d642307d-aef0-35ef-ac3e-d8cc0c311ae8-thumb.png' class='magplus' title='点击查看原始大小图片' /></a></li>
          
          <li>大小: 15.2 KB</li>
        </ul>
      
    
      
        <ul style="display:none;">
          <li><a href="http://dl2.iteye.com/upload/attachment/0028/1839/92cc4b34-ebad-34fa-85ed-6a365a4f40b1.png" target="_blank"><img src='http://dl2.iteye.com/upload/attachment/0028/1839/92cc4b34-ebad-34fa-85ed-6a365a4f40b1-thumb.png' class='magplus' title='点击查看原始大小图片' /></a></li>
          
          <li>大小: 18.6 KB</li>
        </ul>
      
    
      
        <ul style="display:none;">
          <li><a href="http://dl2.iteye.com/upload/attachment/0028/1841/7e137bcc-3ca2-319d-9c53-b30f28ff1d29.png" target="_blank"><img src='http://dl2.iteye.com/upload/attachment/0028/1841/7e137bcc-3ca2-319d-9c53-b30f28ff1d29-thumb.png' class='magplus' title='点击查看原始大小图片' /></a></li>
          
          <li>大小: 15.8 KB</li>
        </ul>
      
    
      
        <ul style="display:none;">
          <li><a href="http://dl2.iteye.com/upload/attachment/0028/1843/f0fadc1c-73ad-3c24-9dff-35bc8d8e4bb8.png" target="_blank"><img src='http://dl2.iteye.com/upload/attachment/0028/1843/f0fadc1c-73ad-3c24-9dff-35bc8d8e4bb8-thumb.png' class='magplus' title='点击查看原始大小图片' /></a></li>
          
          <li>大小: 22 KB</li>
        </ul>
      
    
      
        <ul style="display:none;">
          <li><a href="http://dl2.iteye.com/upload/attachment/0028/1845/888cacdf-65f1-3858-bc53-f34208c00b60.png" target="_blank"><img src='http://dl2.iteye.com/upload/attachment/0028/1845/888cacdf-65f1-3858-bc53-f34208c00b60-thumb.png' class='magplus' title='点击查看原始大小图片' /></a></li>
          
          <li>大小: 18.3 KB</li>
        </ul>
      
    
      
        <ul style="display:none;">
          <li><a href="http://dl2.iteye.com/upload/attachment/0028/1847/61e402d1-e46c-3bbc-9658-2e2f5a80fc43.png" target="_blank"><img src='http://dl2.iteye.com/upload/attachment/0028/1847/61e402d1-e46c-3bbc-9658-2e2f5a80fc43-thumb.png' class='magplus' title='点击查看原始大小图片' /></a></li>
          
          <li>大小: 20.3 KB</li>
        </ul>
      
    
    
      <ul>
        <li><a href="#" onclick="$$('div.attachments ul').invoke('show');$(this).up(1).hide();return false;">查看图片附件</a></li>
      </ul>
    
  </div>



  <IFRAME SRC="/iframe_ggbd/794" SCROLLING=no WIDTH=468 HEIGHT=60 FRAMEBORDER=0></IFRAME>
  
  <div id="bottoms" class="clearfix">
    
    <div id="share_weibo">分享到：
      <a data-type='sina' href="javascript:;" title="分享到新浪微博"><img src="/images/sina.jpg"></a>
      <a data-type='qq' href="javascript:;" title="分享到腾讯微博"><img src="/images/tec.jpg"></a>
    </div>
  </div>

  <div class="blog_nav">
    <div class="pre_next">
      <a href="/blog/720953" class="next" title=" FireFox 常用快捷键"> FireFox 常用快捷键</a>
      |
      <a href="/blog/719153" class="pre" title="在android market上发布个人应用的步骤">在android market上发布个人应用的步骤</a>
    </div>
  </div>
  <div class="blog_bottom">
    <ul>
      <li>2010-07-23 09:44</li>
      <li>浏览 13034</li>
      <li><a href="#comments">评论(2)</a></li>
      
      
      <li>分类:<a href="http://www.iteye.com/blogs/category/mobile">移动开发</a></li>      
      <li class='last'><a href="http://www.iteye.com/wiki/blog/719428" target="_blank" class="more">相关推荐</a></li>
    </ul>
  </div>

  <div class="blog_comment">
    <h5>评论</h5>
    <a id="comments" name="comments"></a>
    <div id="bc1999863">
  <div class="comment_title">
    2 楼
    <a href='http://songfantasy.iteye.com' target='_blank' title='songfantasy'>songfantasy</a>
    2011-03-26&nbsp;&nbsp;
    
    
  </div>
  <div class="comment_content">cmd命令在那个目录就生成到那个目录</div>
</div>

<div id="bc1756678">
  <div class="comment_title">
    1 楼
    <a href='http://mj4678.iteye.com' target='_blank' title='mj4678'>mj4678</a>
    2010-11-15&nbsp;&nbsp;
    
    
  </div>
  <div class="comment_content">我想问下keystore文件在哪里保存的</div>
</div>


    
    
  </div>

  <div class="blog_comment">
    <h5>发表评论</h5>
            <p style="text-align:center; margin-top:30px;margin-bottom:0px;"><a href="/login" style="background-color:white;"> <img src="/images/login_icon.png" style="vertical-align:middle; margin-right: 10px;" /></a><a href="/login">  您还没有登录,请您登录后再发表评论 </a></p>
      </div>
</div>


<script type="text/javascript">
  dp.SyntaxHighlighter.HighlightAll('code', true, true);

  $$('#main .blog_content pre[name=code]').each(function(pre, index){ // blog content
    var post_id = 719428;
    var location = window.location;
    source_url = location.protocol + "//" + location.host + location.pathname + location.search;
    pre.writeAttribute('codeable_id', post_id);
    pre.writeAttribute('codeable_type', "Blog");
    pre.writeAttribute('source_url', source_url);
    pre.writeAttribute('pre_index', index);
    pre.writeAttribute('title', 'eclipse+ADT 进行android应用签名详解');
  });

  fix_image_size($$('div.blog_content img'), 700);

  function processComment() {
    $$('#main .blog_comment > div').each(function(comment){// comment
      var post_id = comment.id.substr(2);
      $$("#"+comment.id+" pre[name=code]").each(function(pre, index){
        var location = window.location;
        source_url = location.protocol + "//" + location.host + location.pathname + location.search;
        source_url += "#" + comment.id;
        pre.writeAttribute('codeable_id', post_id);
        pre.writeAttribute('codeable_type', "BlogComment");
        pre.writeAttribute('source_url', source_url);
        pre.writeAttribute('pre_index', index);
        pre.writeAttribute('title', 'eclipse+ADT 进行android应用签名详解');
      });
    });
  }

  function quote_comment(id) {
    new Ajax.Request('/editor/quote', {
      parameters: {'id':id, 'type':'BlogComment'},
      onSuccess:function(response){editor.bbcode_editor.textarea.insertAfterSelection(response.responseText);
        Element.scrollTo(editor.bbcode_editor.textarea.element);}
    });
  }

  code_favorites_init();
  processComment();
  new WeiboShare({share_buttons: $('share_weibo'), img_scope: $('blog_content')});
</script>




        </div>

        <div id="local">
          <div class="local_top"></div>
          <div id="blog_owner">
  <div id="blog_owner_logo"><a href='http://jojol-zhou.iteye.com'><img alt="jojol_zhou的博客" class="logo" src="http://www.iteye.com/images/user-logo.gif?1324994303" title="jojol_zhou的博客: Jojol's blog" /></a></div>
  <div id="blog_owner_name">jojol_zhou</div>
</div>

          <div id="blog_actions">
            <ul>
              <li>浏览: 150007 次</li>
              <li>性别: <img alt="Icon_minigender_1" src="http://www.iteye.com/images/icon_minigender_1.gif?1324994303" title="男" /></li>
              <li>来自: 南京</li>
              <li><img src='/images/status/offline.gif'/></li>
              
            </ul>
          </div>
          <div id="user_visits" class="clearfix">
            <h5>最近访客 <span style='font-weight:normal;font-size:12px;padding-left:30px;'><a href="/blog/user_visits">更多访客&gt;&gt;</a></span></h5>
            
              <div class="user_visit">
                <div class="logo"><a href='http://qqsheji.iteye.com' target='_blank'><img alt="qqsheji的博客" class="logo" src="http://www.iteye.com/images/user-logo-thumb.gif?1324994303" title="qqsheji的博客: " /></a></div>
                <div class="left"><a href='http://qqsheji.iteye.com' target='_blank' title='qqsheji'>qqsheji</a></div>
              </div>
            
              <div class="user_visit">
                <div class="logo"><a href='http://mike-liu.iteye.com' target='_blank'><img alt="mike.liu的博客" class="logo" src="http://www.iteye.com/images/user-logo-thumb.gif?1324994303" title="mike.liu的博客: " /></a></div>
                <div class="left"><a href='http://mike-liu.iteye.com' target='_blank' title='mike.liu'>mike.liu</a></div>
              </div>
            
              <div class="user_visit">
                <div class="logo"><a href='http://kymjs123.iteye.com' target='_blank'><img alt="kym僵尸的博客" class="logo" src="http://www.iteye.com/images/user-logo-thumb.gif?1324994303" title="kym僵尸的博客: " /></a></div>
                <div class="left"><a href='http://kymjs123.iteye.com' target='_blank' title='kym僵尸'>kym僵尸</a></div>
              </div>
            
              <div class="user_visit">
                <div class="logo"><a href='http://dylinshi126.iteye.com' target='_blank'><img alt="dylinshi126的博客" class="logo" src="http://www.iteye.com/images/user-logo-thumb.gif?1324994303" title="dylinshi126的博客: " /></a></div>
                <div class="left"><a href='http://dylinshi126.iteye.com' target='_blank' title='dylinshi126'>dylinshi126</a></div>
              </div>
            
          </div>

          

                      <div id="blog_menu">
              <h5>文章分类</h5>
              <ul>
                <li><a href="/">全部博客 (50)</a></li>
                
                  <li><a href="/category/185660">android 开发 (17)</a></li>
                
              </ul>
            </div>
            <div id='month_blogs'>
              <h5>社区版块</h5>
              <ul>
                <li><a href="/blog/news">我的资讯</a> (0)</li>
                <li>
                  <a href="/blog/post">我的论坛</a> (1)
                </li>
                <li><a href="/blog/answered_problems">我的问答</a> (0)</li>
              </ul>
            </div>
            <div id="month_blogs">
              <h5>存档分类</h5>
              <ul>
                
                  <li><a href="/blog/monthblog/2012-10">2012-10</a> (1)</li>
                
                  <li><a href="/blog/monthblog/2012-03">2012-03</a> (1)</li>
                
                  <li><a href="/blog/monthblog/2012-02">2012-02</a> (2)</li>
                
                <li><a href="/blog/monthblog_more">更多存档...</a></li>
              </ul>
            </div>
            
            

            <div id="guest_books">
              <h5>最新评论</h5>
              <ul>
                
                <li>
                  <a href='http://2006003845.iteye.com' target='_blank' title='2006003845'>2006003845</a>： 
                  ghlimbrother 写道用这种方法怎么把so文件打包进去 ...<br />
                  <a href="/blog/729254#bc2339185">原：Android 命令行手动编译打包详解</a>
                </li>
                
                <li>
                  <a href='http://2006003845.iteye.com' target='_blank' title='2006003845'>2006003845</a>： 
                  你好 请问下 如果项目中  libs/  有jar 包 有.s ...<br />
                  <a href="/blog/729254#bc2339157">原：Android 命令行手动编译打包详解</a>
                </li>
                
                <li>
                  <a href='http://shiyanshiguize.iteye.com' target='_blank' title='shiyanshiguize'>shiyanshiguize</a>： 
                  楼主在吗？我在执行第一步：使用aapt生成R.java类文件： ...<br />
                  <a href="/blog/729254#bc2335875">原：Android 命令行手动编译打包详解</a>
                </li>
                
                <li>
                  <a href='http://iwso.iteye.com' target='_blank' title='IWSo'>IWSo</a>： 
                  测试代码写什么方法里？<br />
                  <a href="/blog/828830#bc2333910">原：Android 获取屏幕高度、标题高度、状态栏高度详解</a>
                </li>
                
                <li>
                  <a href='http://a13525177343.iteye.com' target='_blank' title='a13525177343'>a13525177343</a>： 
                  楼主今天查看build.xml的作用的时候,看见你的博文的,我 ...<br />
                  <a href="/blog/729254#bc2326980">原：Android 命令行手动编译打包详解</a>
                </li>
                
              </ul>
            </div>

            <div class="local_bottom"></div>
          
        </div>
      </div>

      <div id="footer" class="clearfix">
        <div id="copyright">
          <hr/>
          声明：ITeye文章版权属于作者，受法律保护。没有作者书面许可不得转载。若作者同意转载，必须以超链接形式标明文章原始出处和作者。<br />
          &copy; 2003-2014 ITeye.com.   All rights reserved.  [ 京ICP证110151号  京公网安备110105010620 ]
        </div>
      </div>
    </div>
    <script type="text/javascript">
  document.write("<img src='http://stat.iteye.com/?url="+ encodeURIComponent(document.location.href) + "&referrer=" + encodeURIComponent(document.referrer) + "&user_id=' width='0' height='0' />");
</script>

<script src="http://csdnimg.cn/pubfooter/js/tracking.js?version=20130923164150" type="text/javascript"></script>

    
    
  </body>
</html>
